package com.awesome.spring.netty;

import com.awesome.spring.netty.server.NettyServer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @program: awesome-spring
 * @description: 启动类
 * @author: Alex Wu
 * @createDate: 2025-03-14 16:04
 **/

@SpringBootApplication
public class NettyApplication {
    public static void main(String[] args) throws InterruptedException {
        SpringApplication.run(NettyApplication.class, args);
        new NettyServer().start();
    }
}
